package com.mt.skyhoist.util.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Generated;

@Entity(nameInDb = "MixDatas")
public class DeviceModel {
	@Id(autoincrement = true)
	private Long id;

	@Property(nameInDb = "mac")
	private String mac = "";
	@Property(nameInDb = "name")
	private String name = "";
	@Property(nameInDb = "grounp")
	private int grounpId = 0;

	@Transient
	private int rssi = 0;
	@Transient
	private boolean selectAble = false;
	@Generated(hash = 1330073736)
	public DeviceModel(Long id, String mac, String name, int grounpId) {
		this.id = id;
		this.mac = mac;
		this.name = name;
		this.grounpId = grounpId;
	}
	@Generated(hash = 210163102)
	public DeviceModel() {
	}
	public Long getId() {
		return this.id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getMac() {
		return this.mac;
	}
	public void setMac(String mac) {
		this.mac = mac;
	}
	public String getName() {
		return this.name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getGrounpId() {
		return this.grounpId;
	}
	public void setGrounpId(int grounpId) {
		this.grounpId = grounpId;
	}

	public int getRssi() {
		return rssi;
	}

	public void setRssi(int rssi) {
		this.rssi = rssi;
	}

	public boolean isSelectAble() {
		return selectAble;
	}

	public void setSelectAble(boolean selectAble) {
		this.selectAble = selectAble;
	}
}
